package com.sk.sk_frame_cloud.mapper;

import com.sk.sk_frame_cloud.entity.SysProFunInfo;
import com.sk.sk_frame_cloud.entity.SysProFunRelation;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 项目-功能绑定关系 Mapper 接口
 * </p>
 *
 * @author jiaok
 * @since 2023-12-20
 */
@Mapper
public interface SysProFunRelationMapper extends BaseMapper<SysProFunRelation> {

    /**
     * 获取当前项目绑定的所有功能
     * @param proSid
     * @return
     */
    List<SysProFunInfo> getProBindingFuns(@Param("proSid") String proSid);

}
